package com.aidex.biz.domain;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aidex.common.utils.log.annotation.FieldRemark;
import com.aidex.common.utils.log.annotation.LogField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;
/**
 * 小区信息对象 biz_housing_info
 * @author sean
 * @email 2074844820@qq.com
 * @date 2022-09-23
 */
@Data
public class HousingInfo extends BaseEntity<HousingInfo>
{
    private static final long serialVersionUID = 1L;



    /** 省份code */
    @Excel(name = "省份code")
    private String provinceCode;

    /** 省份名称 */
    @Excel(name = "省份名称")
    private String provinceName;

    /** 城市code */
    private String cityCode;

    /** 城市名称 */
    private String cityName;

    /** 县市code */
    private String areaCode;

    /** 县市名称 */
    private String areaName;

    /** 小区code */
    private String housingCode;

    /** 小区名称 */
    private String housingName;
    /**数组 区域信息*/
    private String areasName;
    /**数组 区域code*/
    private String areasCode;

    /** 排序 */
    private Integer sort;

    /** 状态（0正常 1 停用） */
    @NotBlank(message = "状态（0正常 1 停用）不允许为空")
    private String status;



    public void setProvinceCode(String provinceCode) 
    {
        this.provinceCode = provinceCode;
    }

    public String getProvinceCode() 
    {
        return provinceCode;
    }

    public void setProvinceName(String provinceName) 
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName() 
    {
        return provinceName;
    }

    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }

    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }

    public void setAreaCode(String areaCode) 
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode() 
    {
        return areaCode;
    }

    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }

    public void setHousingCode(String housingCode) 
    {
        this.housingCode = housingCode;
    }

    public String getHousingCode() 
    {
        return housingCode;
    }

    public void setHousingName(String housingName) 
    {
        this.housingName = housingName;
    }

    public String getHousingName() 
    {
        return housingName;
    }

    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("userName", getUserName())
            .append("deptName", getDeptName())
            .append("companyId", getCompanyId())
            .append("provinceCode", getProvinceCode())
            .append("provinceName", getProvinceName())
            .append("cityCode", getCityCode())
            .append("cityName", getCityName())
            .append("areaCode", getAreaCode())
            .append("areaName", getAreaName())
            .append("housingCode", getHousingCode())
            .append("housingName", getHousingName())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createDept", getCreateDept())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("updateIp", getUpdateIp())
            .append("version", getVersion())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
